package com.example.common.view.model

import com.example.common.view.api.BaseApiServer

//基础仓库层
abstract class BaseRepository<S:BaseApiServer> {
    protected var apiSerer : S

    init {

        apiSerer = createApiServer()
    }

    protected abstract fun createApiServer(): S


}